package com.xuan;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.ConfigurableEnvironment;

@SpringBootApplication
@Slf4j
@MapperScan("com.xuan.modules.**.mapper.**")
public class ShiroApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(ShiroApplication.class);
        ConfigurableEnvironment environment = springApplication.run(args).getEnvironment();
        log.info("程序启动:http://127.0.0.1:{}",environment.getProperty("server.port")+"/doc.html");
    }

}
